﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IB_report_stand.DAL;
using IB_report_stand.Objects;

namespace IB_report_stand.BIZ
{
    class ReportService 
    {
        private DataObjectsDataContext dataContext;

        public ReportService()
        {
            dataContext = DataContextFactory.CreateDataContext();
        }

        public ReportService(string connectionString)
        {
            dataContext = DataContextFactory.CreateDataContext(connectionString);
        }

        public ReportService(DataObjectsDataContext dataContext)
        {
            this.dataContext = dataContext;
        }

        public List<SaleReportObject> getDataSourceForSaleReport(String num1, String num2, String num3, String num4, String num5, String num6, String num7, String acc1, String acc2, DateTime start, DateTime end)
        {
            List<SaleReportObject> lstSource = new List<SaleReportObject>();


            return lstSource;
        }
    }
}
